package com.ybkj.daijia.server.amqp;

import java.io.Serializable;

/**
 * Created by shine on 16/7/27.
 */
public class PushMessage implements Serializable {

    public static final String PUSHTYPE_NEWORDER = "neworder";
    public static final String PUSHTYPE_NEWORDER_PAIDAN = "neworderpaidan";
    public static final String PUSHTYPE_ACCEPT = "accept";
    public static final String PUSHTYPE_ARRIVE = "arrive";
    public static final String PUSHTYPE_RUN = "run";
    public static final String PUSHTYPE_CANCEL = "cancel";
    public static final String PUSHTYPE_REFUSE = "refuse";
    public static final String PUSHTYPE_BUDAN = "budan";
    public static final String ORDERTYPE_ZHUANCHE = "zhuanche";
    public static final String ORDERTYPE_ZHUANXIAN = "zhuanxian";
    public static final String FROM_PASSENGER = "passenger";
    public static final String FROM_EMPLOY = "employ";
    public static final String FROM_ADMIN = "admin";
    private static final long serialVersionUID = 1L;
    private String message; //推送消息内容

    private String appKey;//系统key

    private Long targetId; //目标Id

    private Long employId;//服务人员id

    private String pushType;//neworder

    private String orderType;//daijia,zhuanche,errand,freight,zhuanxian.

    private String from;//来源客户或司机

    public Long getEmployId() {
        return employId;
    }

    public void setEmployId(Long employId) {
        this.employId = employId;
    }

    public String getPushType() {
        return pushType;
    }

    public void setPushType(String pushType) {
        this.pushType = pushType;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }


}

